package com.it.controller;


import com.it.entity.user.AiPosition;
import com.it.service.AiPositionService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
import utils.R;

import java.util.List;

/**
 * <p>
 *  前端控制器
 * </p>
 *
 * @author lutao
 * @since 2025年09月17日
 */
@RestController
@RequestMapping("/aiPosition")
public class AiPositionController {

    @Autowired
    private AiPositionService aiPositionService;

    @GetMapping("/list")
    public R list() {
        List<AiPosition> list = aiPositionService.list();
        return R.Success(list);
    }

}
